﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNEMC_WPF
{
    /// <summary>
    /// 站点数据制图配置
    /// </summary>
    public class StationDiagram
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime Start { get; set; } = new DateTime(2020, 1, 1);
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime End { get; set; } = new DateTime(2020, 1, 31);
        /// <summary>
        /// 选择污染物类型
        /// </summary>
        public Pollutant Item { get; set; } = Pollutant.AQI;
    }

    /// <summary>
    /// 等值线制图配置
    /// </summary>
    public class StationContour
    {
        /// <summary>
        /// 时间点
        /// </summary>
        public DateTime Time { get; set; } = new DateTime(2020, 1, 1);
        /// <summary>
        /// 选择污染物类型
        /// </summary>
        public Pollutant Item { get; set; } = Pollutant.AQI;
    }
    
    /// <summary>
    /// 列举污染物类型
    /// </summary>
    public enum Pollutant
    {
        AQI,
        PM25,
        PM25_24H,
        PM10,
        PM10_24H,
        SO2,
        SO2_24H,
        NO2,
        NO2_24H,
        O3,
        O3_24H,
        O3_8H,
        O3_8H_24H,
        CO,
        CO_24H
    }
}
